
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>产品分类信息</title>
</head>
<body>

	<div class="modal fade" id="menunDialog" tabindex="-1" role="dialog"
		aria-labelledby="menunDialogLabel" aria-hidden="true">
		<form id="menunDetail" method="post" name="protypeDetail">
			<div class="modal-dialog" tabindex="0">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal">
							<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
						</button>
						<h4 class="modal-title" id="myModalLabel">菜单信息</h4>
					</div>
					<div class="modal-body">
						<table class="table table-bordered">
							<tr>
								<td style="text-align: right;">菜单编号:</td>
								<td><input style="width: 200px;" type="hidden" id="vrId"
									name="id" value="${type.id}" /><input style="width: 200px;"
									type="text" id="vrCode" required name="vrCode"
									readonly="readonly" /></td>
							</tr>
							<tr>
								<td style="text-align: right;">菜单名称:</td>
								<td><input style="width: 200px;" type="text" id="vrName"
									required name="vrName" /></td>
							</tr>
							<tr>
								<td style="text-align: right;">归属于:</td>
								<td>
								<input  id="scopeVal" type="hidden" name="scope"/>
								<select id="scopeList" name="scopeList">
										
										<c:forEach var="s" items="${scopeList}">
											<option <c:if test="${s.key==scope}">selected</c:if>
												value="${s.key}">${s.val}</option>
										</c:forEach>
								</select></td>
							</tr>
							<tr>
								<td style="text-align: right;">访问路径:</td>
								<td><input id="url" name="url" style="width:100%;" /></td>
							</tr>
							<tr>
								<td style="text-align: right;">备注:</td>
								<td><textarea style="width:100%;" name="note" id="note">
							${type.note}
							</textarea></td>
							</tr>

						</table>
					</div>
					<div id="optBtn" class="modal-footer">

						<button id="saveBtn" type="button" class="btn btn-primary">保存</button>
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					</div>
				</div>
			</div>
		</form>
	</div>
</body>
</html>